package nc.ui.medpub.bd.hf00052510;

import nc.ui.medpub.bd.pub.IBDButtonCodeNo;
import nc.ui.medpub.bd.pub.bdtree.AbstractClientCtrl;
import nc.ui.trade.bill.IListController;
import nc.ui.trade.bill.ISingleController;
import nc.ui.trade.button.IBillButton;
import nc.ui.trade.treecard.ITreeCardController;
import nc.vo.medpub.bd.hf00052510.MedCataTypeVO;
import nc.vo.medpub.bd.hf00052510.constant.IMedCataTypeConstant;
import nc.vo.trade.pub.HYBillVO;

public class ClientCtrl extends AbstractClientCtrl implements ITreeCardController, IListController,
		ISingleController {

	public String getBillType() {
		return IMedCataTypeConstant.FUNCODE;
	}

	public String[] getBillVoName() {
		return new String[] { HYBillVO.class.getName(),
				MedCataTypeVO.class.getName(), MedCataTypeVO.class.getName() };
	}
	public String getPkField() {
		return IMedCataTypeConstant.TABLEKEY;
	}
	
	public int[] getCardButtonAry() {

		int[] cardButtonAry = null;

		cardButtonAry = new int[] { 
				IBillButton.Add, 
				IBillButton.Save,
				IBillButton.Cancel, 
				IBillButton.Edit, 
				IBillButton.Delete,
				IBillButton.Refresh, 
				IBillButton.Print, 
				IBDButtonCodeNo.BTN_VO_PARENT_SEAL,
				//IBDButtonCodeNo.BTN_VO_EXPORT
				 };
		return cardButtonAry;
	}

}
